﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using BaseModel;

namespace LoggingDataAcceptor
{
    public class LoggingDataSenderImpl: LoggingDataSender
    {
        private RemoteSenderObservable remoteSender = new RemoteSenderObservable();

        public void InitLoggingInfo(Equipment eqm, WellInfo wi)
        {
            remoteSender.InitLoggingInfo(eqm, wi);
        }

        public bool StartLoggingData(WellLoggingInfo[] wli)
        {
            remoteSender.StartSendLoggingData(wli);
            return true;
        }

       

        public bool SendLoggingData(WellLoggingPoint gp)
        {
            remoteSender.notifySendLoggingData(gp);
            return true;
        }

        public void EndLoggingData()
        {
            remoteSender.endLoggingData();
        }
       
    }
}
